<div class="common-container">
  <div ng-show="cartList.length > 0">
    <div id="cart-content">

      <div class="cart-title cart-row">

        <ul>
          <li class="cart-product">商品</li>
          <li class="cart-price">单价</li>
          <li class="cart-count">数量</li>
          <li class="cart-sum">合计</li>
          <li class="cart-operation">操作</li>
        </ul>
      </div>


      <div class="cart-item cart-row" ng-repeat="curCart in cartList">
        <ul>
          <li class="cart-product">
            <a href="product#/{{curCart.id}}"><img ng-src={{curCart.image}} alt="product image"/></a>
            <a href="product#/{{curCart.id}}">{{curCart.name}}</a>
          </li>
          <li class="cart-price">￥{{curCart.price}}</li>
          <li class="cart-count">
          <span class="number-wrap">
            <span class="minus" ng-click="Numbers[curCart.id].minus()">-</span>
            <span class="input">{{Numbers[curCart.id].getCount()}}</span>
            <span class="plus" ng-click="Numbers[curCart.id].plus()">+</span>
          </span>
          </li>
          <li class="cart-sum">￥{{curCart.price * Numbers[curCart.id].getCount()}}</li>
          <li class="cart-operation" ng-click="delete(curCart.id)">删除</li>

        </ul>
      </div>
      <!--
      <div class="cart-item cart-row">
        <ul>
          <li class="cart-product">
            <a href="#"><img src="image/cifang.jpeg" alt="cifang"/></a>
            <a href="#">这是一只此方哦</a>
          </li>
          <li class="cart-price">$200</li>
          <li class="cart-count">
          <span class="number-wrap">
            <span class="minus">-</span>
            <span class="input">12</span>
            <span class="plus">+</span>
          </span>
          </li>
          <li class="cart-sum">$400</li>
          <li class="cart-operation">删除</li>
        </ul>
      </div>

    </div>-->

    </div>

    <!----------------结算----------------->
    <div id="total">
      <span class="total-label">总计</span>
      <span class="price">￥{{total}}</span>
    </div>

    <div id="settlement">
      <div class="right">
        <a class="continue" href="product#/"><span class="glyphicon glyphicon-chevron-left"></span>继续购物</a>
        <a href="order#/"><button class="btn btn-primary btn-lg">结算</button></a>
      </div>


    </div>
  </div>



  <div class="cart-none" ng-hide="cartList.length > 0">
    ╰（‵□′）╯喵的,你倒是买个东西啊
  </div>




</div>